import _axios from './request'
// 获取联想数据
function suggestion (params) {
  return _axios({
    method: 'GET',
    url: '/v1_0/suggestion',
    params
  })
}
// 搜索接口
function search (params) {
  return _axios({
    method: 'GET',
    url: '/v1_0/search',
    params
  })
}

export { suggestion, search }
